
package com.be.beadmin.device.repository;

import com.be.beadmin.device.entity.DeInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
* @author chenxu
* @date 2023-09-09
**/
public interface DeInfoRepository extends JpaRepository<DeInfo, String>, JpaSpecificationExecutor<DeInfo> {

    DeInfo findDeInfoByIdAndDelete(String id, Integer delete);

    DeInfo findDeInfoById(String id);

    List<DeInfo> findDeInfosByDelete(Integer delete);
}